package com.designpattern.decorativePattern;

/**
 * @author Liusr
 * @date 2023/2/27
 * @package com.designpattern.decorativePattern
 * @Description:
 */
public class Client {
	public static void main(String[] args) {
		Person person = new Person("张三");
		Finery sportsShoes = new SportsShoes();
		sportsShoes.decorate(person);
		Finery shorts = new Shorts();
		shorts.decorate(sportsShoes);
		Finery tShirts = new TShirts();
		tShirts.decorate(shorts);
		tShirts.show();
	}
}
